<div class="menu">
<%= link_to 'New', :action => 'new' %> 
</div>

<table>
<tr><th class='title'>title</th><th class='date'>date</th><th class='site'>site</th> 
<th class='show'></th><th class='edit'></th><th class='delete'></th></tr>
<%
@pages.each do |page|
%>
<tr>
	<td><%=h "#{page.title}" %></td>
	<td class="date"><%=h "#{page.created_at.strftime('%Y/%m/%d %H:%M')}" %></td>
	<td><%=h "#{page.site}" %></td>
	<td class="show"><%= link_to 'Show', :action => 'show', :id => page %></td>
	<td class="edit"><%= link_to 'Edit', :action => 'edit', :id => page %></td>
	<td class="delete"><%= link_to 'Delete', :action => 'delete', :id => page %></td>
</tr>
<% end %>
</table>